﻿using DataProcess.Interface.Models;
using DataProcess.Interface.TransmissionHandle;

namespace DataProcess.Interface
{
    public interface IDataTransmission
    {
        event ErrorNoticedHandler ErrorNoticed;
        event WarnNoticedHandler WarnNoticed;
        event InfoNoticedHandler InfoNoticed;
        event SaveTransFaultedDataHandle SaveTransFaultedData;
        event GetTransFaultedDataHandle GetTransFaultedData;
        event AfterTransferFaultedHandle AfterTransferFaultedData;

        bool TransferData(TransferDataItem transDataItem);
    }
}
